package com.SunSoft.PhoneRemoteControl;

import [I;
import android.app.Activity;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.content.res.AssetManager;
import android.content.res.Resources;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.os.Vibrator;
import android.telephony.TelephonyManager;
import android.view.GestureDetector;
import android.view.GestureDetector.OnGestureListener;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.View.OnLongClickListener;
import android.view.View.OnTouchListener;
import android.view.ViewGroup;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.PopupWindow;
import android.widget.TextView;
import android.widget.Toast;
import com.tasogo.comm.b;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.http.util.EncodingUtils;

public class Show_Control extends Activity
  implements GestureDetector.OnGestureListener
{
  public static Show_Control A;
  public static final float[] a = { 1.5F, 0.0F, 0.0F, 0.0F, 2.0F, 0.0F, 0.0F, 0.0F, 0.0F, 2.0F, 0.0F, 0.0F, 0.0F, 0.0F, 2.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F };
  private static Context aR;
  public static final float[] b = { 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F };
  private static com.tasogo.comm.e bd;
  public static final float[] c = { 0.22F, 0.5F, 0.1F, 0.0F, 0.0F, 0.22F, 0.5F, 0.1F, 0.0F, 0.0F, 0.22F, 0.5F, 0.1F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F };
  boolean B = true;
  boolean C = false;
  boolean D = false;
  boolean E = false;
  boolean F = false;
  boolean G = false;
  boolean H = false;
  boolean I = false;
  boolean J = false;
  int K = 60;
  int L = 700;
  boolean M = false;
  boolean N = false;
  boolean O = true;
  boolean P = false;
  String[] Q = new String[70];
  String[] R = new String[70];
  String[] S = new String[70];
  String[] T = new String[70];
  String[] U = new String[70];
  boolean[] V = new boolean[70];
  int W = 1;
  String X = "";
  String Y;
  String[] Z = new String[24];
  String[] aA = { "High", "Middle", "Low", "Auto" };
  String[] aB = { "OFF", "ON" };
  int aC = 0;
  View aD;
  TextView aE;
  EditText aF;
  Handler aG = new do(???);
  private dh aH;
  private String aI = "/data/data/com.SunSoft.PhoneRemoteControl/tsg_temp_data.wav";
  private em[] aJ = new em[20];
  private String[] aK;
  private int aL = 0;
  private int aM = 0;
  private int aN = 1;
  private SQLiteDatabase aO;
  private SQLiteDatabase aP;
  private String aQ = "";
  private g aS;
  private di aT;
  private int aU = 0;
  private ProgressDialog aV = null;
  private AudioManager aW;
  private int aX;
  private int aY;
  private int aZ;
  byte[] aa;
  int ab = 0;
  String ac = "";
  String ad = "";
  String ae = "";
  String af = "";
  int ag = 0;
  boolean ah = false;
  TextView ai;
  TextView aj;
  TextView ak;
  TextView al;
  int am;
  String an = MainControl.i;
  int ao;
  int ap = 0;
  int aq = 0;
  int ar = 8;
  int as = 0;
  int at = 1;
  int[] au;
  String[] av;
  String[] aw = { "制冷", "除湿", "送风", "加热", "自动" };
  String[] ax = { "高风", "中风", "低风", "自动" };
  String[] ay = { "关闭", "扫风" };
  String[] az = { "Cooling", "Drying", "Blowing", "Heating", "Auto" };
  private MediaPlayer ba;
  private PopupWindow bb;
  private GestureDetector bc;
  private String be;
  private int bf = 0;
  private boolean bg = true;
  private Runnable bh = new dz(???);
  private View.OnTouchListener bi = new ef(???);
  private View.OnClickListener bj = new eg(???);
  private View.OnLongClickListener bk = new eh(???);
  private View.OnTouchListener bl = new ei(???);
  Drawable d;
  Drawable e;
  boolean f = true;
  int g = 0;
  String h;
  String i = "";
  Dialog j;
  boolean k = false;
  boolean l = true;
  String m;
  String n = "";
  TextView o;
  ImageView p;
  ImageView q;
  ImageView r;
  String s;
  String t;
  int u = 0;
  int v = 0;
  String w;
  String x;
  e y;
  f z;

  static
  {
    A = null;
  }

  public static int a(String paramString)
  {
    return Integer.parseInt(paramString, 16);
  }

  static String a(int paramInt)
  {
    for (String str = String.valueOf(paramInt); ; str = "0" + str)
      if (str.length() >= 3)
        return str;
  }

  public static String a(long paramLong)
  {
    int i1;
    String str2 = "";
    long l1 = paramLong;
    if (paramLong == 0L)
    {
      return "00";
      i1 = (int)l1 % 16;
      switch (i1)
      {
      default:
      case 10:
      case 11:
      case 12:
      case 13:
      case 14:
      case 15:
      }
    }
    for (String str1 = String.valueOf(i1); ; str1 = "F")
      while (true)
      {
        do
        {
          str2 = str1 + str2;
          l1 /= 16L;
        }
        while (l1 > 0L);
        if (str2.length() != 1)
          break label176;
        return "0" + str2;
        str1 = "A";
        continue;
        str1 = "B";
        continue;
        str1 = "C";
        continue;
        str1 = "D";
        continue;
        str1 = "E";
      }
    label176: return str2;
  }

  public static String a(String paramString, int paramInt)
  {
    String str2 = "";
    if (paramString == null)
      str1 = "";
    do
    {
      return str1;
      str1 = paramString;
    }
    while (paramString.length() < 2);
    int i1 = 0;
    if (i1 >= paramString.length() / 2)
      return str2;
    String str1 = paramString.substring(i1 * 2, i1 * 2 + 2);
    long l1 = 0L;
    int i2 = 1;
    if (i2 > str1.length())
    {
      l1 = (int)l1;
      str1 = "";
      if (l1 > 0L)
        break label214;
      if (str1.length() < 8)
        break label251;
      if (paramInt != 0)
        break label274;
    }
    label274: for (str1 = a(a(a(str1, 0, 6), 1, 7), 2, 3); ; str1 = a(a(a(str1, 6, 0), 7, 1), 3, 2))
      while (true)
      {
        while (true)
        {
          while (true)
          {
            while (true)
            {
              str1 = e(str1);
              str2 = str2 + str1;
              i1 += 1;
            }
            int i3 = "0123456789ABCDEF".indexOf(str1.substring(str1.length() - i2, str1.length() - i2 + 1));
            l1 = ()(l1 + Math.pow(16.0D, i2 - 1) * i3);
            i2 += 1;
          }
          label214: str1 = (l1 % 2L) + str1;
          l1 /= 2L;
        }
        label251: str1 = "0" + str1;
      }
  }

  private static String a(String paramString, int paramInt1, int paramInt2)
  {
    int i1;
    Object localObject1 = "";
    Object localObject2 = localObject1;
    if (paramString.length() == 8)
    {
      i1 = 0;
      if (i1 < 8)
        break label32;
      localObject2 = localObject1;
    }
    return localObject2;
    if ((i1 == paramInt1) || (i1 == paramInt2))
    {
      label32: localObject2 = localObject1;
      if (i1 == paramInt1)
        localObject2 = localObject1 + paramString.substring(paramInt2, paramInt2 + 1);
      localObject1 = localObject2;
      if (i1 != paramInt2);
    }
    for (localObject1 = localObject2 + paramString.substring(paramInt1, paramInt1 + 1); ; localObject1 = localObject1 + paramString.substring(i1, i1 + 1))
      while (true)
        i1 += 1;
  }

  private void a(View paramView)
  {
    int i1 = 1;
    if (i1 >= this.W + 1)
    {
      i1 = this.W + 1;
      if (i1 < 32)
        break label394;
      return;
    }
    if (this.B)
    {
      this.Y = this.R[i1];
      if (paramView != null)
        break label193;
    }
    label193: for (Button localButton = (Button)findViewById(getResources().getIdentifier("but_" + a(i1), "id", "com.SunSoft.PhoneRemoteControl")); ; localButton = (Button)paramView.findViewById(getResources().getIdentifier("but_" + a(i1), "id", "com.SunSoft.PhoneRemoteControl")))
      while (true)
      {
        while (true)
        {
          if (localButton != null)
          {
            if ((this.Y == null) || ((!(this.Y.equals("自定义"))) && (!(this.Y.toLowerCase().equals("custom")))) || (!(this.Q[i1].equals(""))) || (MainControl.d) || (this.u == 2))
              break label237;
            localButton.setVisibility(8);
            localButton.setText("");
            localButton.setEnabled(false);
          }
          i1 += 1;
        }
        this.Y = this.S[i1];
      }
    if (this.aN != 5)
    {
      label237: localButton.setOnLongClickListener(this.bk);
      localButton.setText(this.Y);
    }
    if ((this.Y != null) && (this.Y.length() == 1) && (Pattern.compile("[0-9]*").matcher(this.Y).matches()))
      localButton.setTextAppearance(getApplicationContext(), 2131034132);
    if ((((!(MainControl.d)) || ((MainControl.f) && (this.u != 2)))) && (this.aN != 5) && (this.Q[i1].equals("")) && (!(this.Y.equals(""))))
      localButton.setTextColor(-16777216);
    while (true)
    {
      while (true)
      {
        localButton.setFocusable(true);
        localButton.setLongClickable(true);
      }
      localButton.setOnTouchListener(this.bl);
    }
    label394: if (paramView == null);
    for (localButton = (Button)findViewById(getResources().getIdentifier("but_" + a(i1), "id", "com.SunSoft.PhoneRemoteControl")); ; localButton = (Button)paramView.findViewById(getResources().getIdentifier("but_" + a(i1), "id", "com.SunSoft.PhoneRemoteControl")))
      while (true)
      {
        if (localButton != null)
        {
          localButton.setVisibility(8);
          localButton.setText("");
          localButton.setEnabled(false);
        }
        i1 += 1;
      }
  }

  public static void a(g paramg)
  {
    paramg.f();
    paramg.c();
  }

  public static void a(g paramg, String paramString)
  {
    File localFile = new File(paramString);
    if (localFile.exists())
      localFile.delete();
    paramg.a(paramString);
    paramg.b();
    paramg.e();
  }

  public static void a(String paramString1, String paramString2)
  {
    MyApplication.a();
    MyApplication.a(paramString1, paramString2);
  }

  private void a(boolean paramBoolean)
  {
    a("Test", "show_test_msg:" + this.x);
    if (!(paramBoolean))
      return;
    Message localMessage = new Message();
    localMessage.what = 5;
    this.aG.sendMessage(localMessage);
  }

  private static String b(long paramLong)
  {
    String str3 = "";
    String str4 = a(paramLong);
    String str1 = str3;
    String str2 = str4;
    if (str4.length() % 2 != 0)
    {
      str2 = "0" + str4;
      str1 = str3;
    }
    if (str2.length() <= 1);
    while (true)
    {
      while (str1.length() >= 8)
      {
        return str1;
        str1 = str1 + str2.substring(str2.length() - 2);
        str2 = str2.substring(0, str2.length() - 2);
      }
      str1 = str1 + "0";
    }
  }

  private static String b(String paramString)
  {
    String str = paramString;
    if (paramString == null)
      str = "";
    return str;
  }

  private void b(View paramView)
  {
    int i1;
    if (paramView.getBackground() != null)
      paramView.getBackground().setCallback(null);
    if (paramView instanceof ViewGroup)
      i1 = 0;
    while (true)
    {
      if (i1 >= ((ViewGroup)paramView).getChildCount())
      {
        ((ViewGroup)paramView).removeAllViews();
        return;
      }
      b(((ViewGroup)paramView).getChildAt(i1));
      i1 += 1;
    }
  }

  public static void b(g paramg)
  {
    paramg.d();
  }

  private boolean b(String paramString, int paramInt)
  {
    if ((paramString == null) || (paramString.equals("")))
      return false;
    if ((this.aZ < this.aX - 1) && (MainControl.k))
      this.aZ = (this.aX - 1);
    this.aW.setStreamVolume(3, this.aZ, 0);
    paramString = di.a(paramString);
    a("Test", "play_file:" + paramString);
    a("Test", "data_start");
    Object localObject1 = new StringBuilder("");
    ((StringBuilder)localObject1).append(this.m);
    ((StringBuilder)localObject1).append(d(paramString));
    paramString = ((StringBuilder)localObject1).toString();
    a("Test", "get_code");
    int i1 = paramString.length() / 2 + this.ab;
    localObject1 = b(i1 + 38);
    Object localObject2 = b(i1);
    paramString = "52494646" + ((String)localObject1) + "57415645666D7420" + "120000000100020044AC000010B10200" + "04001000000064617461" + ((String)localObject2) + paramString;
    int i3 = paramString.length() / 2;
    a("Test", "byte_lenth:" + String.valueOf(this.ab + i3));
    localObject1 = new byte[i3];
    int i2 = 0;
    if (i2 >= i3)
    {
      a("Test", "creat_data OK");
      if (paramInt != 1)
        break label384;
    }
    try
    {
      paramString = new File("/data/data/com.SunSoft.PhoneRemoteControl/tsg_temp_save.tsg");
      paramString.deleteOnExit();
      if ((!(paramString.exists())) || (paramString.delete()))
        break label432;
      a("Test", "wave file dele failed!!");
      label384: label432: label602: return false;
    }
    catch (FileNotFoundException paramString)
    {
      while (true)
      {
        paramString.printStackTrace();
        if ((this.bf == 0) && (paramInt == 0))
          this.V[this.g] = true;
        return true;
        localObject1[i2] = (byte)Integer.parseInt(paramString.substring(i2 * 2, i2 * 2 + 2), 16);
        i2 += 1;
      }
      paramString = new File("/data/data/com.SunSoft.PhoneRemoteControl/tsg_temp_save" + String.valueOf(this.g) + ".png");
    }
    catch (IOException paramString)
    {
      while (true)
      {
        while (true)
        {
          do
          {
            while (true)
              paramString.printStackTrace();
            localObject2 = new FileOutputStream(paramString);
            ((FileOutputStream)localObject2).write(localObject1);
            ((FileOutputStream)localObject2).write(this.aa);
            ((FileOutputStream)localObject2).flush();
            ((FileOutputStream)localObject2).close();
            a("Test", "save_data OK");
            this.H = false;
            if (!(paramString.exists()))
              break label602;
            this.ba.reset();
            this.ba.setLooping(false);
            paramString = new FileInputStream(paramString);
            this.ba.setDataSource(paramString.getFD());
            this.ba.prepare();
            this.ba.start();
            a("Test", "play start OK");
          }
          while ((!(this.I)) || (paramInt != 0));
          ((Vibrator)getSystemService("vibrator")).vibrate(new long[] { 5L, 10L, 5L, 10L }, -1);
        }
        a("Test", "file not exists!!");
      }
    }
  }

  private String c(String paramString)
  {
    try
    {
      InputStreamReader localInputStreamReader = new InputStreamReader(getResources().getAssets().open(paramString));
      BufferedReader localBufferedReader = new BufferedReader(localInputStreamReader);
      paramString = "";
      String str = localBufferedReader.readLine();
      if (str == null)
      {
        localInputStreamReader.close();
        return paramString;
      }
      paramString = paramString + str;
    }
    catch (Exception paramString)
    {
      paramString.printStackTrace();
    }
    return "";
  }

  private String d(String paramString)
  {
    paramString = paramString.toUpperCase();
    StringBuilder localStringBuilder = new StringBuilder("");
    while (true)
    {
      if (paramString.length() <= 0)
        return localStringBuilder.toString();
      if (paramString.length() <= 1)
        continue;
      String str = paramString.substring(0, 2);
      int i1 = Integer.parseInt(str.substring(1), 16);
      localStringBuilder.append(this.Z[i1]);
      i1 = Integer.parseInt(str.substring(0, 1), 16);
      localStringBuilder.append(this.Z[i1]);
      if (paramString.length() == 1)
        paramString = "";
      paramString = paramString.substring(2);
    }
  }

  private static String e(String paramString)
  {
    int i1 = 0;
    int i5 = paramString.length();
    int i2 = 0;
    if (i1 >= paramString.length());
    for (paramString = a(i2); ; paramString = "0" + paramString)
      while (paramString.length() >= 2)
      {
        int i4;
        return paramString;
        int i3 = i2;
        if (paramString.charAt(i1) == '1')
          i4 = i2 + (int)Math.pow(2.0D, i5 - 1 - i1);
        i1 += 1;
        i2 = i4;
      }
  }

  private void f()
  {
    ViewGroup localViewGroup = (ViewGroup)((LayoutInflater)getSystemService("layout_inflater")).inflate(this.aJ[this.aN].e, null, true);
    LinearLayout localLinearLayout = (LinearLayout)localViewGroup.findViewById(2131165184);
    ImageView localImageView = (ImageView)localViewGroup.findViewById(2131165348);
    this.aD = localLinearLayout;
    a(localLinearLayout);
    localImageView.setOnTouchListener(new ds(this));
    this.bb = new PopupWindow(localViewGroup, -1, -1, true);
    this.bb.setBackgroundDrawable(new BitmapDrawable());
    this.bb.setAnimationStyle(2131034155);
    this.bb.showAtLocation(findViewById(2131165184), 17, 0, 0);
    this.bb.setFocusable(true);
    this.bb.setOutsideTouchable(true);
    this.bb.update();
  }

  private void g()
  {
    try
    {
      ((Vibrator)getSystemService("vibrator")).vibrate(new long[] { 6L, 10L, 6L, 10L }, -1);
      if (this.bf == 0)
      {
        if (this.ba == null)
          this.ba = new MediaPlayer();
        this.ba.reset();
        this.ba.setLooping(false);
        FileInputStream localFileInputStream = new FileInputStream(new File("/data/data/com.SunSoft.PhoneRemoteControl/tsg_temp.tsg"));
        this.ba.setDataSource(localFileInputStream.getFD());
        this.ba.prepare();
        this.ba.start();
        return;
      }
      if (this.be == null)
        this.be = this.aT.b("");
      try
      {
        if ((this.bf != 1) && (this.bf != 2) && (this.bf != 5) && (this.bf != 3))
          break label213;
        this.bg = bd.a(this.be, 0);
        return;
      }
      catch (NullPointerException localNullPointerException)
      {
        this.bg = false;
        return;
      }
    }
    catch (Exception localException)
    {
      localException.printStackTrace();
      this.bg = false;
      return;
    }
    if (this.bf != 4)
      label213: return;
    this.bg = bd.a(this.be, 1);
  }

  private void h()
  {
    int i1 = 0;
    Object localObject = String.valueOf("");
    localObject = this.aO.rawQuery("select ID,define_ID,ico_img,name_ch,name_en ,template_file from control_type where define_ID <> ? order by ID", new String[] { localObject });
    this.aK = new String[((Cursor)localObject).getCount()];
    while (true)
    {
      if (!(((Cursor)localObject).moveToNext()))
      {
        ((Cursor)localObject).close();
        return;
      }
      int i2 = ((Cursor)localObject).getInt(((Cursor)localObject).getColumnIndex("ID"));
      this.aJ[i2] = new em(this);
      ((Cursor)localObject).getString(((Cursor)localObject).getColumnIndex("define_ID"));
      this.aJ[i2].a = ((Cursor)localObject).getString(((Cursor)localObject).getColumnIndex("define_ID"));
      this.aJ[i2].c = ((Cursor)localObject).getString(((Cursor)localObject).getColumnIndex(this.t));
      String str = ((Cursor)localObject).getString(((Cursor)localObject).getColumnIndex("ico_img"));
      int i3 = getResources().getIdentifier(str, "drawable", "com.SunSoft.PhoneRemoteControl");
      this.aJ[i2].b = i3;
      str = ((Cursor)localObject).getString(((Cursor)localObject).getColumnIndex("template_file"));
      i3 = getResources().getIdentifier(str, "layout", "com.SunSoft.PhoneRemoteControl");
      this.aJ[i2].d = i3;
      i3 = getResources().getIdentifier(str + "_num", "layout", "com.SunSoft.PhoneRemoteControl");
      this.aJ[i2].e = i3;
      this.aK[i1] = this.aJ[i2].c;
      i1 += 1;
    }
  }

  private void i()
  {
    int i2 = 0;
    while (true)
    {
      try
      {
        Object localObject;
        InputStreamReader localInputStreamReader = new InputStreamReader(getResources().getAssets().open("tsg_str.tsg"));
        BufferedReader localBufferedReader = new BufferedReader(localInputStreamReader);
        i1 = 0;
        break label154:
        do
        {
          if (!(localBufferedReader.ready()))
          {
            localBufferedReader.close();
            localInputStreamReader.close();
            return;
            this.Z[i1] = "";
            i1 += 1;
            break label154:
          }
          localObject = new StringBuilder("");
          ((StringBuilder)localObject).append(localBufferedReader.readLine());
          localObject = EncodingUtils.getString(((StringBuilder)localObject).toString().getBytes(), "UTF-8");
        }
        while (((String)localObject).length() <= 4);
        if (i1 == 0)
        {
          this.Z[i1] = ((String)localObject).substring(1);
          break label165:
        }
        this.Z[i1] = localObject;
      }
      catch (IOException localIOException)
      {
        localIOException.printStackTrace();
        return;
      }
      label154: if (i1 < 24)
        continue;
      int i1 = i2;
      continue;
      label165: i1 += 1;
    }
  }

  final void a()
  {
    if ((this.ap == 1) || (this.ao == 32))
    {
      this.am = -1;
      if (!(this.B))
        break label197;
      this.ai.setText(String.valueOf(this.ar + 16));
      this.aj.setText("模式:" + this.aw[this.aq]);
      this.ak.setText("风向:" + this.ay[this.at]);
      this.al.setText("风速:" + this.ax[this.as]);
    }
    while (true)
    {
      while (true)
      {
        this.ai.setTextColor(this.am);
        this.aj.setTextColor(this.am);
        this.ak.setTextColor(this.am);
        this.al.setTextColor(this.am);
        return;
        this.am = -12303292;
      }
      label197: this.ai.setText(String.valueOf(this.ar + 16));
      this.aj.setText(" Mode:" + this.az[this.aq]);
      this.ak.setText("  Fan:" + this.aB[this.at]);
      this.al.setText("Speed:" + this.aA[this.as]);
    }
  }

  protected final void b()
  {
    if (this.aH.a("control_search_detail").equals("1"))
      return;
    new AlertDialog.Builder(this).setTitle(this.an).setMessage(getString(2131099959)).setPositiveButton(getString(2131099960), new dt(this)).setNeutralButton(getString(2131099682), new du(this)).setNegativeButton(getString(2131099654), new dv(this)).show();
  }

  // ERROR //
  public final boolean c()
  {
    // Byte code:
    //   0: new 570	java/io/File
    //   3: dup
    //   4: aload_0
    //   5: getfield 190	com/SunSoft/PhoneRemoteControl/Show_Control:aI	Ljava/lang/String;
    //   8: invokespecial 571	java/io/File:<init>	(Ljava/lang/String;)V
    //   11: astore 12
    //   13: aload 12
    //   15: invokevirtual 574	java/io/File:exists	()Z
    //   18: ifeq +454 -> 472
    //   21: aload_0
    //   22: ldc_w 1046
    //   25: putfield 597	com/SunSoft/PhoneRemoteControl/Show_Control:x	Ljava/lang/String;
    //   28: aload_0
    //   29: iconst_0
    //   30: invokespecial 1048	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Z)V
    //   33: aload_0
    //   34: ldc 178
    //   36: putfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   39: aload 12
    //   41: invokevirtual 1051	java/io/File:length	()J
    //   44: ldc2_w 1052
    //   47: ladd
    //   48: l2i
    //   49: newarray byte
    //   51: astore 13
    //   53: aload 12
    //   55: invokevirtual 1051	java/io/File:length	()J
    //   58: l2i
    //   59: newarray int
    //   61: astore 15
    //   63: sipush 3000
    //   66: newarray int
    //   68: astore 16
    //   70: sipush 3000
    //   73: newarray int
    //   75: astore 14
    //   77: new 735	java/io/FileInputStream
    //   80: dup
    //   81: aload 12
    //   83: invokespecial 736	java/io/FileInputStream:<init>	(Ljava/io/File;)V
    //   86: astore 12
    //   88: aload 12
    //   90: invokevirtual 1056	java/io/FileInputStream:available	()I
    //   93: ifle +1711 -> 1804
    //   96: aload 12
    //   98: aload 13
    //   100: invokevirtual 1060	java/io/FileInputStream:read	([B)I
    //   103: istore_1
    //   104: iload_1
    //   105: i2l
    //   106: lstore 8
    //   108: ldc_w 593
    //   111: new 396	java/lang/StringBuilder
    //   114: dup
    //   115: ldc_w 1062
    //   118: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   121: lload 8
    //   123: ldc2_w 448
    //   126: ldiv
    //   127: invokestatic 451	java/lang/String:valueOf	(J)Ljava/lang/String;
    //   130: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   133: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   136: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   139: aload 12
    //   141: invokevirtual 1063	java/io/FileInputStream:close	()V
    //   144: iconst_0
    //   145: istore_2
    //   146: lconst_0
    //   147: lstore 10
    //   149: iconst_0
    //   150: istore_1
    //   151: iload_1
    //   152: i2l
    //   153: lload 8
    //   155: ldc2_w 448
    //   158: ldiv
    //   159: lcmp
    //   160: iflt +356 -> 516
    //   163: lload 10
    //   165: lload 8
    //   167: ldc2_w 448
    //   170: ldiv
    //   171: ldiv
    //   172: lstore 10
    //   174: ldc_w 593
    //   177: new 396	java/lang/StringBuilder
    //   180: dup
    //   181: ldc_w 1065
    //   184: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   187: lload 10
    //   189: invokestatic 451	java/lang/String:valueOf	(J)Ljava/lang/String;
    //   192: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   195: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   198: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   201: ldc_w 593
    //   204: new 396	java/lang/StringBuilder
    //   207: dup
    //   208: ldc_w 1067
    //   211: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   214: iload_2
    //   215: invokestatic 390	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   218: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   221: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   224: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   227: iconst_0
    //   228: istore_1
    //   229: iload_1
    //   230: i2l
    //   231: lload 8
    //   233: ldc2_w 448
    //   236: ldiv
    //   237: lcmp
    //   238: iflt +338 -> 576
    //   241: iconst_0
    //   242: istore 6
    //   244: iconst_0
    //   245: istore_2
    //   246: iconst_0
    //   247: istore_1
    //   248: iconst_0
    //   249: istore 5
    //   251: iload 5
    //   253: i2l
    //   254: lload 8
    //   256: ldc2_w 448
    //   259: ldiv
    //   260: lcmp
    //   261: iflt +342 -> 603
    //   264: iconst_0
    //   265: istore_1
    //   266: iconst_0
    //   267: istore 5
    //   269: iload_1
    //   270: sipush 200
    //   273: if_icmplt +437 -> 710
    //   276: iconst_0
    //   277: istore_3
    //   278: iconst_0
    //   279: istore 6
    //   281: iconst_0
    //   282: istore_1
    //   283: iconst_0
    //   284: istore_2
    //   285: ldc 178
    //   287: astore 12
    //   289: iload 6
    //   291: iload 5
    //   293: if_icmplt +465 -> 758
    //   296: aload 12
    //   298: astore 13
    //   300: aload 13
    //   302: invokevirtual 394	java/lang/String:length	()I
    //   305: bipush 20
    //   307: if_icmple +1458 -> 1765
    //   310: iconst_0
    //   311: istore_1
    //   312: iload_1
    //   313: aload 13
    //   315: invokevirtual 394	java/lang/String:length	()I
    //   318: bipush 8
    //   320: idiv
    //   321: if_icmplt +637 -> 958
    //   324: ldc_w 593
    //   327: new 396	java/lang/StringBuilder
    //   330: dup
    //   331: ldc_w 1069
    //   334: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   337: aload 13
    //   339: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   342: ldc_w 1071
    //   345: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   348: aload 13
    //   350: invokevirtual 394	java/lang/String:length	()I
    //   353: invokestatic 390	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   356: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   359: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   362: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   365: ldc_w 593
    //   368: new 396	java/lang/StringBuilder
    //   371: dup
    //   372: ldc_w 1073
    //   375: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   378: aload_0
    //   379: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   382: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   385: ldc_w 1071
    //   388: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   391: aload_0
    //   392: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   395: invokevirtual 394	java/lang/String:length	()I
    //   398: invokestatic 390	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   401: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   404: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   407: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   410: aload_0
    //   411: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   414: ldc_w 412
    //   417: invokevirtual 1077	java/lang/String:startsWith	(Ljava/lang/String;)Z
    //   420: ifne +28 -> 448
    //   423: aload_0
    //   424: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   427: invokevirtual 394	java/lang/String:length	()I
    //   430: iload_2
    //   431: iconst_4
    //   432: idiv
    //   433: if_icmpne +15 -> 448
    //   436: aload_0
    //   437: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   440: invokevirtual 394	java/lang/String:length	()I
    //   443: bipush 22
    //   445: if_icmpge +662 -> 1107
    //   448: aload_0
    //   449: aload_0
    //   450: ldc_w 1078
    //   453: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   456: putfield 597	com/SunSoft/PhoneRemoteControl/Show_Control:x	Ljava/lang/String;
    //   459: aload_0
    //   460: ldc 178
    //   462: putfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   465: aload_0
    //   466: iconst_1
    //   467: invokespecial 1048	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Z)V
    //   470: iconst_0
    //   471: ireturn
    //   472: aload_0
    //   473: aload_0
    //   474: ldc_w 1079
    //   477: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   480: putfield 597	com/SunSoft/PhoneRemoteControl/Show_Control:x	Ljava/lang/String;
    //   483: aload_0
    //   484: iconst_1
    //   485: invokespecial 1048	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Z)V
    //   488: iconst_0
    //   489: ireturn
    //   490: astore 12
    //   492: lconst_0
    //   493: lstore 8
    //   495: aload 12
    //   497: invokevirtual 699	java/io/FileNotFoundException:printStackTrace	()V
    //   500: goto -356 -> 144
    //   503: astore 12
    //   505: lconst_0
    //   506: lstore 8
    //   508: aload 12
    //   510: invokevirtual 704	java/io/IOException:printStackTrace	()V
    //   513: goto -369 -> 144
    //   516: aload 15
    //   518: iload_1
    //   519: aload 13
    //   521: iload_1
    //   522: iconst_2
    //   523: imul
    //   524: baload
    //   525: aload 13
    //   527: iload_1
    //   528: iconst_2
    //   529: imul
    //   530: iconst_1
    //   531: iadd
    //   532: baload
    //   533: sipush 256
    //   536: imul
    //   537: iadd
    //   538: invokestatic 1082	java/lang/Math:abs	(I)I
    //   541: iastore
    //   542: lload 10
    //   544: aload 15
    //   546: iload_1
    //   547: iaload
    //   548: i2l
    //   549: ladd
    //   550: lstore 10
    //   552: iload_2
    //   553: istore_3
    //   554: aload 15
    //   556: iload_1
    //   557: iaload
    //   558: iload_2
    //   559: if_icmple +8 -> 567
    //   562: aload 15
    //   564: iload_1
    //   565: iaload
    //   566: istore_3
    //   567: iload_1
    //   568: iconst_1
    //   569: iadd
    //   570: istore_1
    //   571: iload_3
    //   572: istore_2
    //   573: goto -422 -> 151
    //   576: aload 15
    //   578: iload_1
    //   579: iaload
    //   580: i2l
    //   581: ldc2_w 1083
    //   584: lload 10
    //   586: lmul
    //   587: lcmp
    //   588: ifge +8 -> 596
    //   591: aload 15
    //   593: iload_1
    //   594: iconst_0
    //   595: iastore
    //   596: iload_1
    //   597: iconst_1
    //   598: iadd
    //   599: istore_1
    //   600: goto -371 -> 229
    //   603: aload 15
    //   605: iload 5
    //   607: iaload
    //   608: ifle +58 -> 666
    //   611: iconst_0
    //   612: istore 7
    //   614: iload 6
    //   616: istore_3
    //   617: iload 7
    //   619: istore_2
    //   620: iload_1
    //   621: istore 4
    //   623: aload 15
    //   625: iload 5
    //   627: iaload
    //   628: iload 6
    //   630: if_icmple +21 -> 651
    //   633: aload 15
    //   635: iload 5
    //   637: iaload
    //   638: istore_3
    //   639: aload 16
    //   641: iload_1
    //   642: iload 5
    //   644: iastore
    //   645: iload_1
    //   646: istore 4
    //   648: iload 7
    //   650: istore_2
    //   651: iload 5
    //   653: iconst_1
    //   654: iadd
    //   655: istore 5
    //   657: iload_3
    //   658: istore 6
    //   660: iload 4
    //   662: istore_1
    //   663: goto -412 -> 251
    //   666: iload_2
    //   667: iconst_1
    //   668: iadd
    //   669: istore 7
    //   671: iload 6
    //   673: istore_3
    //   674: iload 7
    //   676: istore_2
    //   677: iload_1
    //   678: istore 4
    //   680: iload 7
    //   682: bipush 44
    //   684: if_icmpne -33 -> 651
    //   687: iload_1
    //   688: istore 4
    //   690: iload_1
    //   691: sipush 300
    //   694: if_icmpge +8 -> 702
    //   697: iload_1
    //   698: iconst_1
    //   699: iadd
    //   700: istore 4
    //   702: iconst_0
    //   703: istore_3
    //   704: iload 7
    //   706: istore_2
    //   707: goto -56 -> 651
    //   710: iload 5
    //   712: istore_2
    //   713: aload 16
    //   715: iload_1
    //   716: iaload
    //   717: ifle +31 -> 748
    //   720: iload 5
    //   722: istore_2
    //   723: iload_1
    //   724: ifle +24 -> 748
    //   727: aload 14
    //   729: iload 5
    //   731: aload 16
    //   733: iload_1
    //   734: iaload
    //   735: aload 16
    //   737: iload_1
    //   738: iconst_1
    //   739: isub
    //   740: iaload
    //   741: isub
    //   742: iastore
    //   743: iload 5
    //   745: iconst_1
    //   746: iadd
    //   747: istore_2
    //   748: iload_1
    //   749: iconst_1
    //   750: iadd
    //   751: istore_1
    //   752: iload_2
    //   753: istore 5
    //   755: goto -486 -> 269
    //   758: aload 14
    //   760: iload 6
    //   762: iaload
    //   763: istore 4
    //   765: iload 4
    //   767: bipush 50
    //   769: if_icmple +1024 -> 1793
    //   772: iload 4
    //   774: sipush 600
    //   777: if_icmpge +1016 -> 1793
    //   780: iload 4
    //   782: sipush 300
    //   785: if_icmple +132 -> 917
    //   788: iconst_1
    //   789: istore 7
    //   791: new 396	java/lang/StringBuilder
    //   794: dup
    //   795: aload 12
    //   797: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   800: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   803: ldc_w 1004
    //   806: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   809: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   812: astore 12
    //   814: iload_3
    //   815: bipush 7
    //   817: if_icmpgt +129 -> 946
    //   820: iload_1
    //   821: istore 4
    //   823: iload 7
    //   825: iconst_1
    //   826: if_icmpne +17 -> 843
    //   829: iload_1
    //   830: i2d
    //   831: ldc2_w 811
    //   834: iload_3
    //   835: i2d
    //   836: invokestatic 447	java/lang/Math:pow	(DD)D
    //   839: dadd
    //   840: d2i
    //   841: istore 4
    //   843: iload 4
    //   845: istore_1
    //   846: iload_3
    //   847: bipush 7
    //   849: if_icmpne +41 -> 890
    //   852: iload 4
    //   854: bipush 10
    //   856: iadd
    //   857: bipush 8
    //   859: imul
    //   860: istore_2
    //   861: ldc_w 593
    //   864: new 396	java/lang/StringBuilder
    //   867: dup
    //   868: ldc_w 1086
    //   871: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   874: iload_2
    //   875: invokestatic 390	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   878: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   881: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   884: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   887: iload 4
    //   889: istore_1
    //   890: iload_3
    //   891: iconst_1
    //   892: iadd
    //   893: istore 4
    //   895: iload_1
    //   896: istore_3
    //   897: iload 4
    //   899: istore_1
    //   900: iload 6
    //   902: iconst_1
    //   903: iadd
    //   904: istore 6
    //   906: iload_1
    //   907: istore 4
    //   909: iload_3
    //   910: istore_1
    //   911: iload 4
    //   913: istore_3
    //   914: goto -625 -> 289
    //   917: new 396	java/lang/StringBuilder
    //   920: dup
    //   921: aload 12
    //   923: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   926: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   929: ldc_w 398
    //   932: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   935: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   938: astore 12
    //   940: iconst_0
    //   941: istore 7
    //   943: goto -129 -> 814
    //   946: aload 12
    //   948: astore 13
    //   950: iload_3
    //   951: iload_2
    //   952: if_icmpge -652 -> 300
    //   955: goto -65 -> 890
    //   958: iconst_0
    //   959: istore 4
    //   961: iconst_0
    //   962: istore_3
    //   963: iload_3
    //   964: bipush 8
    //   966: if_icmplt +79 -> 1045
    //   969: iload 4
    //   971: ifne +125 -> 1096
    //   974: ldc_w 412
    //   977: astore 12
    //   979: aload 12
    //   981: astore 14
    //   983: aload 12
    //   985: invokevirtual 394	java/lang/String:length	()I
    //   988: iconst_1
    //   989: if_icmpne +23 -> 1012
    //   992: new 396	java/lang/StringBuilder
    //   995: dup
    //   996: ldc_w 398
    //   999: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1002: aload 12
    //   1004: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1007: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1010: astore 14
    //   1012: aload_0
    //   1013: new 396	java/lang/StringBuilder
    //   1016: dup
    //   1017: aload_0
    //   1018: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1021: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1024: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1027: aload 14
    //   1029: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1032: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1035: putfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1038: iload_1
    //   1039: iconst_1
    //   1040: iadd
    //   1041: istore_1
    //   1042: goto -730 -> 312
    //   1045: ldc2_w 811
    //   1048: iload_3
    //   1049: i2d
    //   1050: invokestatic 447	java/lang/Math:pow	(DD)D
    //   1053: d2i
    //   1054: istore 6
    //   1056: iload 4
    //   1058: istore 5
    //   1060: aload 13
    //   1062: iload_1
    //   1063: bipush 8
    //   1065: imul
    //   1066: iload_3
    //   1067: iadd
    //   1068: invokevirtual 810	java/lang/String:charAt	(I)C
    //   1071: bipush 49
    //   1073: if_icmpne +12 -> 1085
    //   1076: iload 4
    //   1078: iload 6
    //   1080: iconst_1
    //   1081: imul
    //   1082: iadd
    //   1083: istore 5
    //   1085: iload_3
    //   1086: iconst_1
    //   1087: iadd
    //   1088: istore_3
    //   1089: iload 5
    //   1091: istore 4
    //   1093: goto -130 -> 963
    //   1096: iload 4
    //   1098: i2l
    //   1099: invokestatic 617	com/SunSoft/PhoneRemoteControl/Show_Control:a	(J)Ljava/lang/String;
    //   1102: astore 12
    //   1104: goto -125 -> 979
    //   1107: aload_0
    //   1108: aload_0
    //   1109: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1112: iconst_1
    //   1113: invokestatic 1088	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;I)Ljava/lang/String;
    //   1116: putfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1119: new 396	java/lang/StringBuilder
    //   1122: dup
    //   1123: aload_0
    //   1124: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1127: iconst_0
    //   1128: iconst_2
    //   1129: invokevirtual 428	java/lang/String:substring	(II)Ljava/lang/String;
    //   1132: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1135: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1138: ldc_w 1090
    //   1141: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1144: aload_0
    //   1145: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1148: bipush 20
    //   1150: invokevirtual 619	java/lang/String:substring	(I)Ljava/lang/String;
    //   1153: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1156: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1159: astore 13
    //   1161: ldc_w 593
    //   1164: new 396	java/lang/StringBuilder
    //   1167: dup
    //   1168: ldc_w 1092
    //   1171: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1174: aload 13
    //   1176: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1179: ldc_w 1071
    //   1182: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1185: aload 13
    //   1187: invokevirtual 394	java/lang/String:length	()I
    //   1190: invokestatic 390	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   1193: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1196: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1199: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   1202: aload_0
    //   1203: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1206: bipush 20
    //   1208: bipush 22
    //   1210: invokevirtual 428	java/lang/String:substring	(II)Ljava/lang/String;
    //   1213: astore 12
    //   1215: aload_0
    //   1216: getfield 886	com/SunSoft/PhoneRemoteControl/Show_Control:aO	Landroid/database/sqlite/SQLiteDatabase;
    //   1219: ldc_w 1094
    //   1222: iconst_3
    //   1223: anewarray 240	java/lang/String
    //   1226: dup
    //   1227: iconst_0
    //   1228: aload 13
    //   1230: aastore
    //   1231: dup
    //   1232: iconst_1
    //   1233: aload_0
    //   1234: getfield 176	com/SunSoft/PhoneRemoteControl/Show_Control:g	I
    //   1237: invokestatic 390	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   1240: aastore
    //   1241: dup
    //   1242: iconst_2
    //   1243: aload_0
    //   1244: getfield 202	com/SunSoft/PhoneRemoteControl/Show_Control:aQ	Ljava/lang/String;
    //   1247: aastore
    //   1248: invokevirtual 894	android/database/sqlite/SQLiteDatabase:rawQuery	(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;
    //   1251: astore 13
    //   1253: aload 13
    //   1255: invokeinterface 904 1 0
    //   1260: ifne +107 -> 1367
    //   1263: aload 13
    //   1265: invokeinterface 905 1 0
    //   1270: getstatic 491	com/SunSoft/PhoneRemoteControl/MainControl:d	Z
    //   1273: ifne +9 -> 1282
    //   1276: getstatic 538	com/SunSoft/PhoneRemoteControl/MainControl:f	Z
    //   1279: ifeq +41 -> 1320
    //   1282: aload 12
    //   1284: ldc_w 1096
    //   1287: invokevirtual 484	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   1290: ifeq +436 -> 1726
    //   1293: aload_0
    //   1294: new 396	java/lang/StringBuilder
    //   1297: dup
    //   1298: aload_0
    //   1299: getfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1302: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1305: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1308: ldc_w 1098
    //   1311: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1314: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1317: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1320: ldc_w 593
    //   1323: new 396	java/lang/StringBuilder
    //   1326: dup
    //   1327: ldc_w 1100
    //   1330: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1333: aload_0
    //   1334: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1337: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1340: ldc_w 1071
    //   1343: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1346: aload_0
    //   1347: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   1350: invokevirtual 394	java/lang/String:length	()I
    //   1353: invokestatic 390	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   1356: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1359: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1362: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   1365: iconst_1
    //   1366: ireturn
    //   1367: aload 13
    //   1369: aload 13
    //   1371: ldc_w 917
    //   1374: invokeinterface 910 2 0
    //   1379: invokeinterface 920 2 0
    //   1384: astore 14
    //   1386: ldc_w 593
    //   1389: new 396	java/lang/StringBuilder
    //   1392: dup
    //   1393: ldc_w 1102
    //   1396: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1399: aload 14
    //   1401: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1404: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1407: invokestatic 598	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;Ljava/lang/String;)V
    //   1410: aload_0
    //   1411: new 396	java/lang/StringBuilder
    //   1414: dup
    //   1415: ldc_w 1104
    //   1418: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1421: aload 13
    //   1423: invokeinterface 899 1 0
    //   1428: invokevirtual 1107	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   1431: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1434: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1437: aload_0
    //   1438: new 396	java/lang/StringBuilder
    //   1441: dup
    //   1442: aload_0
    //   1443: getfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1446: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1449: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1452: ldc_w 1109
    //   1455: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1458: aload 13
    //   1460: aload 13
    //   1462: ldc_w 1111
    //   1465: invokeinterface 910 2 0
    //   1470: invokeinterface 920 2 0
    //   1475: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1478: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1481: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1484: aload_0
    //   1485: new 396	java/lang/StringBuilder
    //   1488: dup
    //   1489: aload_0
    //   1490: getfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1493: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1496: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1499: ldc_w 1109
    //   1502: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1505: aload 13
    //   1507: aload 13
    //   1509: ldc_w 1113
    //   1512: invokeinterface 910 2 0
    //   1517: invokeinterface 920 2 0
    //   1522: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1525: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1528: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1531: aload_0
    //   1532: getfield 886	com/SunSoft/PhoneRemoteControl/Show_Control:aO	Landroid/database/sqlite/SQLiteDatabase;
    //   1535: ldc_w 1115
    //   1538: iconst_2
    //   1539: anewarray 240	java/lang/String
    //   1542: dup
    //   1543: iconst_0
    //   1544: aload 14
    //   1546: aastore
    //   1547: dup
    //   1548: iconst_1
    //   1549: aload_0
    //   1550: getfield 200	com/SunSoft/PhoneRemoteControl/Show_Control:aN	I
    //   1553: invokestatic 390	java/lang/String:valueOf	(I)Ljava/lang/String;
    //   1556: aastore
    //   1557: invokevirtual 894	android/database/sqlite/SQLiteDatabase:rawQuery	(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;
    //   1560: astore 14
    //   1562: aload 14
    //   1564: invokeinterface 904 1 0
    //   1569: ifeq +147 -> 1716
    //   1572: aload_0
    //   1573: new 396	java/lang/StringBuilder
    //   1576: dup
    //   1577: aload_0
    //   1578: getfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1581: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1584: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1587: ldc_w 1109
    //   1590: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1593: aload 14
    //   1595: aload 14
    //   1597: ldc_w 1117
    //   1600: invokeinterface 910 2 0
    //   1605: invokeinterface 920 2 0
    //   1610: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1613: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1616: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1619: aload_0
    //   1620: new 396	java/lang/StringBuilder
    //   1623: dup
    //   1624: aload_0
    //   1625: getfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1628: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1631: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1634: ldc_w 1109
    //   1637: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1640: aload 14
    //   1642: aload 14
    //   1644: ldc_w 1119
    //   1647: invokeinterface 910 2 0
    //   1652: invokeinterface 920 2 0
    //   1657: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1660: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1663: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1666: aload_0
    //   1667: new 396	java/lang/StringBuilder
    //   1670: dup
    //   1671: aload_0
    //   1672: getfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1675: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1678: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1681: ldc_w 1109
    //   1684: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1687: aload 14
    //   1689: aload 14
    //   1691: ldc_w 1121
    //   1694: invokeinterface 910 2 0
    //   1699: invokeinterface 920 2 0
    //   1704: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1707: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1710: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1713: goto -450 -> 1263
    //   1716: aload 14
    //   1718: invokeinterface 905 1 0
    //   1723: goto -470 -> 1253
    //   1726: aload_0
    //   1727: new 396	java/lang/StringBuilder
    //   1730: dup
    //   1731: aload_0
    //   1732: getfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1735: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   1738: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   1741: ldc_w 1123
    //   1744: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1747: aload 12
    //   1749: iconst_0
    //   1750: invokestatic 1088	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;I)Ljava/lang/String;
    //   1753: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1756: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1759: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   1762: goto -442 -> 1320
    //   1765: aload_0
    //   1766: aload_0
    //   1767: ldc_w 1124
    //   1770: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   1773: putfield 597	com/SunSoft/PhoneRemoteControl/Show_Control:x	Ljava/lang/String;
    //   1776: aload_0
    //   1777: iconst_1
    //   1778: invokespecial 1048	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Z)V
    //   1781: iconst_0
    //   1782: ireturn
    //   1783: astore 12
    //   1785: goto -1277 -> 508
    //   1788: astore 12
    //   1790: goto -1295 -> 495
    //   1793: iload_1
    //   1794: istore 4
    //   1796: iload_3
    //   1797: istore_1
    //   1798: iload 4
    //   1800: istore_3
    //   1801: goto -901 -> 900
    //   1804: lconst_0
    //   1805: lstore 8
    //   1807: goto -1699 -> 108
    //
    // Exception table:
    //   from	to	target	type
    //   77	104	490	java/io/FileNotFoundException
    //   77	104	503	java/io/IOException
    //   108	144	1783	java/io/IOException
    //   108	144	1788	java/io/FileNotFoundException
  }

  // ERROR //
  public final boolean d()
  {
    // Byte code:
    //   0: aload_0
    //   1: ldc 178
    //   3: putfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   6: aload_0
    //   7: ldc 178
    //   9: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   12: new 570	java/io/File
    //   15: dup
    //   16: aload_0
    //   17: getfield 190	com/SunSoft/PhoneRemoteControl/Show_Control:aI	Ljava/lang/String;
    //   20: invokespecial 571	java/io/File:<init>	(Ljava/lang/String;)V
    //   23: astore 15
    //   25: aload 15
    //   27: invokevirtual 574	java/io/File:exists	()Z
    //   30: ifeq +28 -> 58
    //   33: aload 15
    //   35: invokevirtual 1051	java/io/File:length	()J
    //   38: ldc2_w 1125
    //   41: lcmp
    //   42: ifge +29 -> 71
    //   45: aload_0
    //   46: aload_0
    //   47: ldc_w 1127
    //   50: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   53: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   56: iconst_0
    //   57: ireturn
    //   58: aload_0
    //   59: aload_0
    //   60: ldc_w 1128
    //   63: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   66: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   69: iconst_0
    //   70: ireturn
    //   71: aload 15
    //   73: invokevirtual 1051	java/io/File:length	()J
    //   76: ldc2_w 1052
    //   79: ladd
    //   80: l2i
    //   81: newarray byte
    //   83: astore 17
    //   85: aload 15
    //   87: invokevirtual 1051	java/io/File:length	()J
    //   90: ldc2_w 448
    //   93: ldiv
    //   94: l2i
    //   95: newarray int
    //   97: astore 16
    //   99: new 735	java/io/FileInputStream
    //   102: dup
    //   103: aload 15
    //   105: invokespecial 736	java/io/FileInputStream:<init>	(Ljava/io/File;)V
    //   108: astore 15
    //   110: aload 15
    //   112: invokevirtual 1056	java/io/FileInputStream:available	()I
    //   115: ifle +784 -> 899
    //   118: aload 15
    //   120: aload 17
    //   122: invokevirtual 1060	java/io/FileInputStream:read	([B)I
    //   125: istore_1
    //   126: iload_1
    //   127: i2l
    //   128: lstore 7
    //   130: aload 15
    //   132: invokevirtual 1063	java/io/FileInputStream:close	()V
    //   135: lload 7
    //   137: ldc2_w 448
    //   140: ldiv
    //   141: lstore 7
    //   143: iconst_0
    //   144: istore_1
    //   145: iload_1
    //   146: i2l
    //   147: lload 7
    //   149: lcmp
    //   150: iflt +89 -> 239
    //   153: lload 7
    //   155: l2i
    //   156: newarray int
    //   158: astore 17
    //   160: iconst_0
    //   161: istore_2
    //   162: iconst_0
    //   163: istore 6
    //   165: iconst_0
    //   166: istore_1
    //   167: iconst_0
    //   168: istore 5
    //   170: iload 5
    //   172: i2l
    //   173: lload 7
    //   175: lcmp
    //   176: iflt +93 -> 269
    //   179: iconst_0
    //   180: istore_3
    //   181: iconst_0
    //   182: istore_2
    //   183: iload_2
    //   184: iload_1
    //   185: if_icmplt +155 -> 340
    //   188: iconst_0
    //   189: istore 4
    //   191: iload 4
    //   193: istore_2
    //   194: iload_3
    //   195: bipush 30
    //   197: if_icmpge +256 -> 453
    //   200: aload_0
    //   201: aload_0
    //   202: ldc_w 1129
    //   205: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   208: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   211: iconst_0
    //   212: ireturn
    //   213: astore 15
    //   215: lconst_0
    //   216: lstore 7
    //   218: aload 15
    //   220: invokevirtual 699	java/io/FileNotFoundException:printStackTrace	()V
    //   223: goto -88 -> 135
    //   226: astore 15
    //   228: lconst_0
    //   229: lstore 7
    //   231: aload 15
    //   233: invokevirtual 704	java/io/IOException:printStackTrace	()V
    //   236: goto -101 -> 135
    //   239: aload 16
    //   241: iload_1
    //   242: aload 17
    //   244: iload_1
    //   245: iconst_2
    //   246: imul
    //   247: baload
    //   248: aload 17
    //   250: iload_1
    //   251: iconst_2
    //   252: imul
    //   253: iconst_1
    //   254: iadd
    //   255: baload
    //   256: sipush 256
    //   259: imul
    //   260: iadd
    //   261: iastore
    //   262: iload_1
    //   263: iconst_1
    //   264: iadd
    //   265: istore_1
    //   266: goto -121 -> 145
    //   269: aload 16
    //   271: iload 5
    //   273: iaload
    //   274: ifgt +53 -> 327
    //   277: iload_2
    //   278: istore_3
    //   279: iload_1
    //   280: istore 4
    //   282: iload 6
    //   284: iconst_1
    //   285: if_icmpne +15 -> 300
    //   288: aload 17
    //   290: iload_1
    //   291: iload_2
    //   292: iastore
    //   293: iload_1
    //   294: iconst_1
    //   295: iadd
    //   296: istore 4
    //   298: iconst_0
    //   299: istore_3
    //   300: iload 4
    //   302: istore_2
    //   303: iconst_0
    //   304: istore_1
    //   305: iload 5
    //   307: iconst_1
    //   308: iadd
    //   309: istore 5
    //   311: iload_2
    //   312: istore 4
    //   314: iload_1
    //   315: istore 6
    //   317: iload_3
    //   318: iconst_1
    //   319: iadd
    //   320: istore_2
    //   321: iload 4
    //   323: istore_1
    //   324: goto -154 -> 170
    //   327: iload_1
    //   328: istore 4
    //   330: iconst_1
    //   331: istore_1
    //   332: iload_2
    //   333: istore_3
    //   334: iload 4
    //   336: istore_2
    //   337: goto -32 -> 305
    //   340: aload 17
    //   342: iload_2
    //   343: iaload
    //   344: bipush 18
    //   346: if_icmple +40 -> 386
    //   349: aload 17
    //   351: iload_2
    //   352: iaload
    //   353: bipush 28
    //   355: if_icmpge +31 -> 386
    //   358: iload_3
    //   359: iconst_1
    //   360: iadd
    //   361: istore 5
    //   363: iload 5
    //   365: istore_3
    //   366: iload_2
    //   367: istore 4
    //   369: iload 5
    //   371: bipush 30
    //   373: if_icmpgt -182 -> 191
    //   376: iload 5
    //   378: istore_3
    //   379: iload_2
    //   380: iconst_1
    //   381: iadd
    //   382: istore_2
    //   383: goto -200 -> 183
    //   386: iconst_0
    //   387: istore_3
    //   388: goto -9 -> 379
    //   391: aload 17
    //   393: iload_2
    //   394: iaload
    //   395: bipush 31
    //   397: if_icmple +52 -> 449
    //   400: aload 17
    //   402: iload_2
    //   403: iaload
    //   404: bipush 38
    //   406: if_icmpge +43 -> 449
    //   409: iconst_0
    //   410: istore_3
    //   411: ldc 178
    //   413: astore 15
    //   415: iload_2
    //   416: istore 4
    //   418: iload_3
    //   419: istore_2
    //   420: iload 4
    //   422: iload_1
    //   423: if_icmplt +40 -> 463
    //   426: aload 15
    //   428: invokevirtual 394	java/lang/String:length	()I
    //   431: bipush 40
    //   433: if_icmpge +167 -> 600
    //   436: aload_0
    //   437: aload_0
    //   438: ldc_w 1130
    //   441: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   444: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   447: iconst_0
    //   448: ireturn
    //   449: iload_2
    //   450: iconst_1
    //   451: iadd
    //   452: istore_2
    //   453: iload_2
    //   454: iload_1
    //   455: if_icmplt -64 -> 391
    //   458: iconst_0
    //   459: istore_2
    //   460: goto -49 -> 411
    //   463: iload_2
    //   464: istore_3
    //   465: aload 17
    //   467: iload 4
    //   469: iaload
    //   470: bipush 18
    //   472: if_icmple +25 -> 497
    //   475: iload_2
    //   476: istore_3
    //   477: aload 17
    //   479: iload 4
    //   481: iaload
    //   482: bipush 28
    //   484: if_icmpge +13 -> 497
    //   487: iload_2
    //   488: iconst_1
    //   489: iadd
    //   490: istore_3
    //   491: iload_3
    //   492: bipush 9
    //   494: if_icmpge -68 -> 426
    //   497: aload 17
    //   499: iload 4
    //   501: iaload
    //   502: bipush 31
    //   504: if_icmple +390 -> 894
    //   507: aload 17
    //   509: iload 4
    //   511: iaload
    //   512: bipush 38
    //   514: if_icmpge +380 -> 894
    //   517: iload_3
    //   518: bipush 9
    //   520: if_icmpge -94 -> 426
    //   523: aload 15
    //   525: astore 16
    //   527: iload_3
    //   528: ifle +31 -> 559
    //   531: iload_3
    //   532: iconst_5
    //   533: if_icmplt +41 -> 574
    //   536: new 396	java/lang/StringBuilder
    //   539: dup
    //   540: aload 15
    //   542: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   545: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   548: ldc_w 1004
    //   551: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   554: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   557: astore 16
    //   559: aload 16
    //   561: astore 15
    //   563: iconst_0
    //   564: istore_2
    //   565: iload 4
    //   567: iconst_1
    //   568: iadd
    //   569: istore 4
    //   571: goto -151 -> 420
    //   574: new 396	java/lang/StringBuilder
    //   577: dup
    //   578: aload 15
    //   580: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   583: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   586: ldc_w 398
    //   589: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   592: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   595: astore 16
    //   597: goto -38 -> 559
    //   600: lconst_0
    //   601: lstore 9
    //   603: aload 15
    //   605: invokevirtual 394	java/lang/String:length	()I
    //   608: bipush 8
    //   610: idiv
    //   611: iconst_1
    //   612: isub
    //   613: istore 4
    //   615: iconst_0
    //   616: istore_1
    //   617: iconst_0
    //   618: istore_2
    //   619: lconst_0
    //   620: lstore 11
    //   622: iload_1
    //   623: aload 15
    //   625: invokevirtual 394	java/lang/String:length	()I
    //   628: bipush 8
    //   630: idiv
    //   631: if_icmplt +31 -> 662
    //   634: aload_0
    //   635: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   638: invokevirtual 394	java/lang/String:length	()I
    //   641: iload_2
    //   642: iconst_4
    //   643: iadd
    //   644: iconst_2
    //   645: imul
    //   646: if_icmpeq +155 -> 801
    //   649: aload_0
    //   650: aload_0
    //   651: ldc_w 1131
    //   654: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   657: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   660: iconst_0
    //   661: ireturn
    //   662: lconst_0
    //   663: lstore 7
    //   665: iconst_0
    //   666: istore_3
    //   667: iload_3
    //   668: bipush 8
    //   670: if_icmplt +79 -> 749
    //   673: iload_1
    //   674: iconst_2
    //   675: if_icmpne +7 -> 682
    //   678: lload 7
    //   680: l2i
    //   681: istore_2
    //   682: iload_1
    //   683: iload 4
    //   685: if_icmpne +7 -> 692
    //   688: lload 7
    //   690: lstore 11
    //   692: lload 9
    //   694: lstore 13
    //   696: iload_1
    //   697: iload 4
    //   699: if_icmpeq +10 -> 709
    //   702: lload 9
    //   704: lload 7
    //   706: ladd
    //   707: lstore 13
    //   709: aload_0
    //   710: new 396	java/lang/StringBuilder
    //   713: dup
    //   714: aload_0
    //   715: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   718: invokestatic 415	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   721: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   724: lload 7
    //   726: invokestatic 617	com/SunSoft/PhoneRemoteControl/Show_Control:a	(J)Ljava/lang/String;
    //   729: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   732: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   735: putfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   738: iload_1
    //   739: iconst_1
    //   740: iadd
    //   741: istore_1
    //   742: lload 13
    //   744: lstore 9
    //   746: goto -124 -> 622
    //   749: ldc2_w 811
    //   752: iload_3
    //   753: i2d
    //   754: invokestatic 447	java/lang/Math:pow	(DD)D
    //   757: d2i
    //   758: istore 5
    //   760: lload 7
    //   762: lstore 13
    //   764: aload 15
    //   766: iload_1
    //   767: bipush 8
    //   769: imul
    //   770: iload_3
    //   771: iadd
    //   772: invokevirtual 810	java/lang/String:charAt	(I)C
    //   775: bipush 49
    //   777: if_icmpne +13 -> 790
    //   780: lload 7
    //   782: iload 5
    //   784: iconst_1
    //   785: imul
    //   786: i2l
    //   787: ladd
    //   788: lstore 13
    //   790: iload_3
    //   791: iconst_1
    //   792: iadd
    //   793: istore_3
    //   794: lload 13
    //   796: lstore 7
    //   798: goto -131 -> 667
    //   801: lload 9
    //   803: ldc2_w 1132
    //   806: lrem
    //   807: lload 11
    //   809: lcmp
    //   810: ifeq +16 -> 826
    //   813: aload_0
    //   814: aload_0
    //   815: ldc_w 1134
    //   818: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   821: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   824: iconst_0
    //   825: ireturn
    //   826: new 396	java/lang/StringBuilder
    //   829: dup
    //   830: ldc_w 1136
    //   833: invokespecial 401	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   836: aload_0
    //   837: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   840: iconst_0
    //   841: aload_0
    //   842: getfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   845: invokevirtual 394	java/lang/String:length	()I
    //   848: iconst_2
    //   849: isub
    //   850: invokevirtual 428	java/lang/String:substring	(II)Ljava/lang/String;
    //   853: invokevirtual 405	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   856: invokevirtual 409	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   859: astore 15
    //   861: aload_0
    //   862: aload_0
    //   863: ldc_w 1137
    //   866: invokevirtual 1015	com/SunSoft/PhoneRemoteControl/Show_Control:getString	(I)Ljava/lang/String;
    //   869: putfield 180	com/SunSoft/PhoneRemoteControl/Show_Control:i	Ljava/lang/String;
    //   872: aload_0
    //   873: aload 15
    //   875: iconst_1
    //   876: invokestatic 1088	com/SunSoft/PhoneRemoteControl/Show_Control:a	(Ljava/lang/String;I)Ljava/lang/String;
    //   879: putfield 186	com/SunSoft/PhoneRemoteControl/Show_Control:n	Ljava/lang/String;
    //   882: iconst_1
    //   883: ireturn
    //   884: astore 15
    //   886: goto -655 -> 231
    //   889: astore 15
    //   891: goto -673 -> 218
    //   894: iload_3
    //   895: istore_2
    //   896: goto -331 -> 565
    //   899: lconst_0
    //   900: lstore 7
    //   902: goto -772 -> 130
    //
    // Exception table:
    //   from	to	target	type
    //   99	126	213	java/io/FileNotFoundException
    //   99	126	226	java/io/IOException
    //   130	135	884	java/io/IOException
    //   130	135	889	java/io/FileNotFoundException
  }

  public void onCreate(Bundle paramBundle)
  {
    Object localObject1;
    super.onCreate(paramBundle);
    requestWindowFeature(1);
    getWindow().setFlags(1024, 1024);
    A = this;
    aR = this;
    paramBundle = getIntent();
    this.aM = Integer.valueOf(paramBundle.getStringExtra("con_id")).intValue();
    this.u = Integer.valueOf(paramBundle.getStringExtra("do_type")).intValue();
    this.B = Locale.getDefault().getLanguage().toString().equals("zh");
    if (this.B)
    {
      this.an = MainControl.i;
      this.s = "brand_ch";
      this.t = "name_ch";
      paramBundle = new dh(this);
      this.aT = new di();
      this.aH = paramBundle;
      this.aW = ((AudioManager)getSystemService("audio"));
      this.aX = this.aW.getStreamMaxVolume(3);
      this.aY = this.aW.getStreamVolume(3);
      paramBundle = this.aH.a("save_vol");
      if (!(paramBundle.equals("")))
        break label1977;
      this.aZ = this.aX;
      if ((this.aZ < this.aX - 1) && (MainControl.k))
        this.aZ = (this.aX - 1);
      this.ba = new MediaPlayer();
      this.ba.setOnCompletionListener(new ej(this));
      this.y = new e(getBaseContext());
      this.z = new f(getBaseContext());
      this.aO = this.y.getWritableDatabase();
      this.aP = this.z.getWritableDatabase();
      if (!(this.aH.a("is_rotray").equals("1")))
        break label1991;
      setRequestedOrientation(9);
      this.I = this.aH.a("is_vibrate").equals("1");
      h();
      paramBundle = new String[1];
      paramBundle[0] = String.valueOf(this.aM);
    }
    try
    {
      if ((this.u == 3) || (MainControl.d))
      {
        localObject1 = this.aO.rawQuery("select ID,control_type,name_ch,name_en,come_from,control_model,define_ID,come_from ,note from control_list where ID = ?", paramBundle);
        if (!(((Cursor)localObject1).moveToNext()))
          break label2373;
        this.aN = ((Cursor)localObject1).getInt(((Cursor)localObject1).getColumnIndex("control_type"));
        this.aQ = ((Cursor)localObject1).getString(((Cursor)localObject1).getColumnIndex("define_ID"));
        this.aL = ((Cursor)localObject1).getInt(((Cursor)localObject1).getColumnIndex("come_from"));
        this.X = ((Cursor)localObject1).getString(((Cursor)localObject1).getColumnIndex(this.t));
        if (this.u < 2)
          this.aH.a("con_id", String.valueOf(this.aM));
        if (this.aN != 11)
          break label2144;
        paramBundle = ((Cursor)localObject1).getString(((Cursor)localObject1).getColumnIndex("note"));
        if ((paramBundle == null) || (paramBundle.equals("")) || (!(paramBundle.startsWith("book_"))))
          break label2015;
        setContentView(getResources().getIdentifier(paramBundle, "layout", "com.SunSoft.PhoneRemoteControl"));
        a("Test", "do_type:" + this.u);
        a("Test", "define_id:" + this.aQ);
        if (this.aN == 5)
        {
          Object localObject2 = ((Cursor)localObject1).getString(((Cursor)localObject1).getColumnIndex("control_model"));
          a("Test", "temp_air_type:" + ((String)localObject2));
          paramBundle = (Bundle)localObject2;
          if (((String)localObject2).equals(null))
            paramBundle = "";
          localObject2 = paramBundle;
          if (paramBundle.equals(""))
            localObject2 = "1";
          this.ag = Integer.valueOf((String)localObject2).intValue();
          ((TextView)findViewById(2131165187)).setTypeface(Typeface.createFromAsset(getAssets(), "fonts/Clockopia.ttf"));
          this.au = new int[5];
          this.au[0] = this.ap;
          this.au[1] = this.aq;
          this.au[2] = this.ar;
          this.au[3] = this.as;
          this.au[4] = this.at;
          this.av = di.a(this.ag, 20, this.au);
          if ((this.av != null) && (this.av.length == 7))
            this.ao = Integer.valueOf(this.av[6]).intValue();
          if (this.u == 3)
            this.ap = 1;
          this.ad = ((Cursor)localObject1).getString(((Cursor)localObject1).getColumnIndex("note"));
          if ((this.ad != null) && (!(MainControl.e)))
          {
            paramBundle = this.ad.split("\\|");
            if (paramBundle.length == 5)
            {
              this.ap = Integer.valueOf(paramBundle[0]).intValue();
              this.aq = Integer.valueOf(paramBundle[1]).intValue();
              this.ar = Integer.valueOf(paramBundle[2]).intValue();
              this.as = Integer.valueOf(paramBundle[3]).intValue();
              this.at = Integer.valueOf(paramBundle[4]).intValue();
            }
          }
          this.au[0] = this.ap;
          this.au[1] = this.aq;
          this.au[2] = this.ar;
          this.au[3] = this.as;
          this.au[4] = this.at;
          this.ai = ((TextView)findViewById(2131165187));
          this.aj = ((TextView)findViewById(2131165188));
          this.ak = ((TextView)findViewById(2131165190));
          this.al = ((TextView)findViewById(2131165189));
          a();
        }
        ((Cursor)localObject1).close();
        a("Test", "come_from:" + this.aL);
        paramBundle = new String[1];
        paramBundle[0] = this.aQ;
        if (this.aN != 5)
          break label2163;
        paramBundle[0] = "AME3FNL0CPF0YYJZGLL8";
        paramBundle = this.aO.rawQuery("select ID,control_ID,code_str,dis_ch,dis_en,note,order_ID,define_ID  from button_data where define_ID = ? ", paramBundle);
        if (paramBundle.moveToNext())
          break label2226;
        paramBundle.close();
        if ((this.P) && (this.W < 13))
          this.P = false;
        if ((this.aN <= 4) || (this.aN == 9) || (this.P))
          this.k = true;
        a(null);
        this.bc = new GestureDetector(this);
        this.o = ((TextView)findViewById(2131165185));
        this.r = ((ImageView)findViewById(2131165285));
        this.p = ((ImageView)findViewById(2131165284));
        this.q = ((ImageView)findViewById(2131165286));
        this.d = getResources().getDrawable(2130837595);
        this.e = getResources().getDrawable(2130837594);
        this.o.setText(this.X);
        if (this.u == 2)
          this.o.setText(this.X + "--" + getString(2131099889));
        if (this.u == 3)
          this.o.setText(this.X + "--" + getString(2131099811));
        this.p.setOnClickListener(new ek(this));
        if (this.P)
          this.q.setBackgroundResource(2130837551);
        if (!(this.k))
          break label2461;
        this.q.setOnClickListener(new el(this));
        localObject1 = this.aH.a("save_long");
        if (localObject1 != null)
        {
          paramBundle = (Bundle)localObject1;
          if (!(((String)localObject1).equals("")))
            break label1544;
        }
        paramBundle = "1";
        label1544: this.L = (Integer.valueOf(paramBundle).intValue() * 100 + 500);
        a("Test", "long_time:" + String.valueOf(this.L));
        paramBundle = this.aH.a("save_device");
        a("Test", "get_device:" + paramBundle);
        if (!(paramBundle.equals("")))
          break label2473;
        this.bf = 0;
        if (this.bf <= 0);
      }
    }
    catch (Exception paramBundle)
    {
      while (true)
      {
        try
        {
          while (this.bf == 3)
          {
            while (true)
            {
              while (true)
              {
                while (true)
                {
                  do
                  {
                    while (true)
                    {
                      while (true)
                      {
                        while (true)
                        {
                          while (true)
                          {
                            while (true)
                            {
                              while (true)
                              {
                                while (true)
                                {
                                  while (true)
                                  {
                                    while (true)
                                    {
                                      bd = new com.tasogo.comm.g();
                                      if (!(this.aH.a("is_mono").equals("1")))
                                        break label2509;
                                      this.m = c("sstart.tsg");
                                      this.w = c("end.tsg");
                                      this.ab = (this.w.length() / 2);
                                      this.aa = new byte[this.ab];
                                      i1 = 0;
                                      if (i1 < this.ab)
                                        break label2523;
                                      i();
                                      MyApplication.a().a(this);
                                      ((TelephonyManager)getSystemService("phone")).listen(new en(this, 0), 32);
                                      if (this.bf == 0)
                                      {
                                        if (this.aW.isMusicActive())
                                          Toast.makeText(this, getString(2131099701), 0).show();
                                        if (!(this.aW.isWiredHeadsetOn()))
                                          Toast.makeText(this, getString(2131099702), 0).show();
                                      }
                                      if ((MainControl.f) && (this.u == 2) && (!(MainControl.d)))
                                      {
                                        if ((!(MyApplication.a().a)) || (!(MyApplication.a().b)))
                                          break label2557;
                                        if (!(this.aH.a("control_edit_msg").equals("1")))
                                          new AlertDialog.Builder(this).setTitle(this.an).setMessage(getString(2131099890)).setNegativeButton(getString(2131099661), new dp(this)).setPositiveButton(getString(2131099653), new dq(this)).show();
                                      }
                                      return;
                                      this.an = MainControl.j;
                                      this.s = "brand_en";
                                      this.t = "name_en";
                                    }
                                    label1977: this.aZ = Integer.valueOf(paramBundle).intValue();
                                  }
                                  label1991: setRequestedOrientation(1);
                                }
                                localObject1 = this.aP.rawQuery("select ID,control_type,name_ch,name_en,come_from,control_model,define_ID,come_from ,note from control_list where ID = ?", paramBundle);
                              }
                              label2015: setContentView(2130903064);
                              this.P = true;
                            }
                            paramBundle = paramBundle;
                            setContentView(2130903049);
                            Toast.makeText(this, getString(2131099888), 0).show();
                            a("Test", "err:" + paramBundle.toString());
                            localObject1 = this.aH.a("con_id");
                            if ((localObject1 != null) && (!(((String)localObject1).equals(""))) && (Integer.valueOf((String)localObject1).intValue() == this.aM))
                              this.aH.a("con_id", "");
                            finish();
                            paramBundle.printStackTrace();
                          }
                          label2144: setContentView(this.aJ[this.aN].d);
                        }
                        label2163: if (this.aL != 1)
                          break label2605;
                        i1 = 1;
                        if (this.aL != 9)
                          break label2610;
                        i2 = 1;
                        if (((i2 | i1) == 0) && (!(MainControl.d)))
                          break;
                        paramBundle = this.aO.rawQuery("select ID,control_ID,code_str,dis_ch,dis_en,note,order_ID,define_ID  from button_data where define_ID = ? order by order_ID", paramBundle);
                      }
                      paramBundle = this.aP.rawQuery("select ID,control_ID,code_str,dis_ch,dis_en,note,order_ID,define_ID  from button_data where define_ID = ? order by order_ID", paramBundle);
                    }
                    label2226: i1 = paramBundle.getInt(paramBundle.getColumnIndex("order_ID"));
                    this.V[i1] = false;
                    this.R[i1] = b(paramBundle.getString(paramBundle.getColumnIndex("dis_ch")));
                    this.S[i1] = b(paramBundle.getString(paramBundle.getColumnIndex("dis_en")));
                    this.Q[i1] = b(paramBundle.getString(paramBundle.getColumnIndex("code_str")));
                    if ((!(MainControl.d)) && (!(MainControl.f)))
                      continue;
                    this.T[i1] = b(paramBundle.getString(paramBundle.getColumnIndex("note")));
                  }
                  while (this.W >= i1);
                  this.W = i1;
                }
                label2373: a("Test", "未找到遥控列表");
                setContentView(2130903049);
                Toast.makeText(this, getString(2131099888), 0).show();
                paramBundle = this.aH.a("con_id");
                if ((paramBundle != null) && (!(paramBundle.equals(""))) && (Integer.valueOf(paramBundle).intValue() == this.aM))
                  this.aH.a("con_id", "");
                finish();
              }
              label2461: this.q.setVisibility(8);
            }
            label2473: this.bf = Integer.valueOf(paramBundle).intValue();
          }
          label2509: label2523: label2557: bd = new b();
        }
        catch (java.lang.NoClassDefFoundError paramBundle)
        {
          while (true)
          {
            while (true)
            {
              while (true)
                this.bg = false;
              this.m = c("start.tsg");
            }
            this.aa[i1] = (byte)Integer.parseInt(this.w.substring(i1 * 2, i1 * 2 + 2), 16);
            i1 += 1;
          }
          new AlertDialog.Builder(this).setTitle(this.an).setMessage(getString(2131099891)).setPositiveButton(getString(2131099653), new dr(this)).show();
          return;
        }
        label2605: int i1 = 0;
      }
      label2610: int i2 = 0;
    }
  }

  public boolean onCreateOptionsMenu(Menu paramMenu)
  {
    if (this.B)
    {
      paramMenu.add(0, 3, 3, "返回");
      paramMenu.add(0, 4, 4, "退出");
    }
    while (true)
    {
      return true;
      paramMenu.add(0, 3, 3, "Return");
      paramMenu.add(0, 4, 4, "Exit");
    }
  }

  protected void onDestroy()
  {
    this.F = true;
    if (this.ba != null)
      this.ba.release();
    if (this.aP != null)
      this.aP.close();
    if (this.aO != null)
      this.aO.close();
    super.onDestroy();
    a("Test", "unbindDrawables");
    b(findViewById(2131165283));
    System.gc();
  }

  public boolean onDown(MotionEvent paramMotionEvent)
  {
    return false;
  }

  public boolean onFling(MotionEvent paramMotionEvent1, MotionEvent paramMotionEvent2, float paramFloat1, float paramFloat2)
  {
    int i1 = 0;
    if (this.k)
    {
      if (paramMotionEvent1.getX() - paramMotionEvent2.getX() > 300.0F)
        i1 = 1;
      if (paramMotionEvent1.getX() - paramMotionEvent2.getX() < -300.0F)
        i1 = 1;
      if (paramMotionEvent1.getY() - paramMotionEvent2.getY() < 300.0F)
        i1 = 1;
      if (paramMotionEvent1.getY() - paramMotionEvent2.getY() < -300.0F)
        i1 = 1;
      if ((i1 != 0) && (((this.bb == null) || (!(this.bb.isShowing())))))
        f();
      return true;
    }
    return false;
  }

  public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent)
  {
    int i2;
    int i3;
    int i5;
    Object localObject1;
    Object localObject2;
    Object localObject3;
    Object localObject4;
    Object localObject5;
    Object localObject6;
    Object localObject7;
    [I local[I;
    label1174: label1184: label1269: label1279: String[] arrayOfString;
    if (paramInt == 4)
      if (MainControl.d)
      {
        paramKeyEvent = new int[] { 1, 1, 1, 1, 1 };
        localObject1 = new int[] { 11, 12, 1, 2, 3, 4, 5, 13, 9, 25 };
        localObject2 = new int[] { 3, 4, 1, 10, 11, 7, 5, 8, 28 };
        localObject3 = new int[] { 1, 5, 11, 12, 3, 7 };
        localObject4 = new int[] { 1, 2, 3, 4, 5 };
        localObject5 = new int[] { 17, 16, 1, 12, 5, 11, 15 };
        localObject6 = new int[] { 1, 2, 3, 4 };
        localObject7 = new int[] { 1 };
        paramInt = this.aN;
        local[I = new int[][] { paramKeyEvent, { 10, 11, 1, 13, 3, 4, 7, 2, 28 }, localObject1, localObject2, localObject3, localObject4, localObject5, localObject6, localObject7, { 2, 3, 7, 8 }, { 1, 5, 2, 8 }, { 1, 1, 1, 1, 1 } }[paramInt];
        i5 = local[I.length;
        if ((this.aN == 5) || (this.aN == 11))
          Toast.makeText(this, "暂不支持空调和其它设备", 0).show();
        while (true)
        {
          return true;
          localObject1 = new StringBuilder("遥控类型:").append(this.aJ[this.aN].c).append(" 检测按键数量:").append(String.valueOf(i5)).toString() + " 模板按键数:" + String.valueOf(this.W) + "\n";
          localObject4 = this.Q[local[I[0]];
          paramKeyEvent = this.R[local[I[0]] + "(" + this.T[local[I[0]] + ")";
          if ((localObject4 == null) || (((String)localObject4).length() < 20))
            Toast.makeText(this, "主键未录,无法进行评估! " + paramKeyEvent, 0).show();
          paramInt = a((String)localObject4, 0).length() / 2 - 10;
          localObject2 = ((String)localObject4).substring(0, 2);
          int i1 = Integer.parseInt(a((String)localObject2, 2), 16);
          localObject3 = ((String)localObject4).substring(20, 22);
          localObject1 = localObject1 + "主键:" + paramKeyEvent + " 实长:" + String.valueOf(paramInt) + " 码长：" + a((String)localObject2, 2) + " 类型：" + a((String)localObject3, 2) + "\n";
          if (i1 == paramInt)
            break;
          Toast.makeText(this, "主键长度不正确! " + paramKeyEvent, 0).show();
        }
        paramKeyEvent = localObject1 + "\n检测按键为空的:\n ";
        paramInt = 0;
        i2 = 1;
        if (i2 >= i5)
        {
          paramKeyEvent = paramKeyEvent + "\n未录入的:\n ";
          i2 = 1;
          if (i2 < this.W)
            break label1184;
          localObject1 = paramKeyEvent + "\n长度不符的:\n ";
          i2 = 0;
          if (i2 < this.W)
            break label1279;
          localObject1 = localObject1 + "\n类型不符的:\n ";
          i2 = 0;
        }
        while (true)
        {
          while (true)
          {
            while (true)
            {
              while (true)
              {
                if (i2 < this.W)
                  break label1480;
                if (paramInt == 0)
                  break label1611;
                paramKeyEvent = localObject1 + "\n检测按键有为空的,无法检测重复!!!:\n";
                localObject1 = LayoutInflater.from(this).inflate(2130903073, null);
                localObject2 = (TextView)((View)localObject1).findViewById(2131165432);
                localObject3 = new AlertDialog.Builder(this);
                ((TextView)localObject2).setText(paramKeyEvent);
                ((AlertDialog.Builder)localObject3).setView((View)localObject1);
                ((AlertDialog.Builder)localObject3).setPositiveButton(getString(2131099653), new ed(this));
                ((AlertDialog.Builder)localObject3).setNegativeButton(getString(2131099654), new ee(this));
                ((AlertDialog.Builder)localObject3).show();
              }
              i3 = local[I[i2];
              localObject5 = this.Q[i3];
              if (localObject5 != null)
              {
                localObject1 = paramKeyEvent;
                if (!(((String)localObject5).equals("")))
                  break label1174;
              }
              localObject1 = paramKeyEvent + String.valueOf(i3) + "(" + this.R[i3] + " " + this.T[i3] + ") ";
              paramInt = 1;
              i2 += 1;
              paramKeyEvent = (KeyEvent)localObject1;
            }
            localObject5 = this.Q[i2];
            if (localObject5 != null)
            {
              localObject1 = paramKeyEvent;
              if (!(((String)localObject5).equals("")))
                break label1269;
            }
            localObject1 = paramKeyEvent + String.valueOf(i2) + "(" + this.R[i2] + " " + this.T[i2] + ") ";
            i2 += 1;
            paramKeyEvent = (KeyEvent)localObject1;
          }
          localObject5 = this.Q[i2];
          paramKeyEvent = (KeyEvent)localObject1;
          if (localObject5 != null)
          {
            paramKeyEvent = (KeyEvent)localObject1;
            if (!(((String)localObject5).equals("")))
              if (((String)localObject5).length() >= 20)
                break label1387;
          }
          for (paramKeyEvent = localObject1 + String.valueOf(i2) + "(" + this.R[i2] + " " + this.T[i2] + ") "; ; paramKeyEvent = localObject1 + String.valueOf(i2) + "(" + this.R[i2] + " " + this.T[i2] + ") ")
            do
            {
              while (true)
              {
                i2 += 1;
                localObject1 = paramKeyEvent;
              }
              label1387: if (!(((String)localObject2).equals(((String)localObject5).substring(0, 2))))
                break;
              paramKeyEvent = (KeyEvent)localObject1;
            }
            while (((String)localObject4).length() == ((String)localObject5).length());
          label1480: localObject2 = this.Q[i2];
          paramKeyEvent = (KeyEvent)localObject1;
          if (localObject2 != null)
          {
            paramKeyEvent = (KeyEvent)localObject1;
            if (!(((String)localObject2).equals("")))
            {
              paramKeyEvent = (KeyEvent)localObject1;
              if (((String)localObject2).length() > 20)
              {
                paramKeyEvent = (KeyEvent)localObject1;
                if (!(((String)localObject3).equals(((String)localObject2).substring(20, 22))))
                  paramKeyEvent = localObject1 + String.valueOf(i2) + "(" + this.R[i2] + " " + this.T[i2] + ") ";
              }
            }
          }
          i2 += 1;
          localObject1 = paramKeyEvent;
        }
        label1611: arrayOfString = new String[51];
        localObject2 = ((String)localObject4).substring(0, 2) + "%" + ((String)localObject4).substring(20);
        if (a((String)localObject3, 2).equals("80"))
          localObject2 = ((String)localObject4).substring(0, 2) + "%" + ((String)localObject4).substring(22);
        if (this.aN != 3)
          break label3129;
        paramKeyEvent = this.Q[5];
        if (!(a((String)localObject3, 2).equals("80")));
      }
    for (paramKeyEvent = paramKeyEvent.substring(0, 2) + "%" + paramKeyEvent.substring(22); ; paramKeyEvent = "")
    {
      label2158: int i6;
      localObject3 = "";
      a("Test", "search_code:" + ((String)localObject2) + ":" + String.valueOf(((String)localObject2).length()));
      if (this.aN == 3);
      for (localObject6 = this.aO.rawQuery("select * from button_data where( code_str like ? or code_str like ? )and order_ID=? and define_ID<>? order by ID desc", new String[] { localObject2, paramKeyEvent, String.valueOf(local[I[0]), this.aQ }); ; localObject6 = this.aO.rawQuery("select * from button_data where code_str like ? and order_ID=? and define_ID<>? order by ID desc", new String[] { localObject2, String.valueOf(local[I[0]), this.aQ }))
        while (true)
        {
          while (true)
          {
            localObject1 = localObject1 + "\n主键重复遥控个数:" + ((Cursor)localObject6).getCount() + "  ,重复遥控信息:\n";
            a("Test", "define_id:" + this.aQ);
            i2 = 0;
            paramInt = 0;
            localObject4 = "";
            paramKeyEvent = "";
            localObject2 = localObject3;
            localObject3 = localObject4;
            if (((Cursor)localObject6).moveToNext())
              break label2158;
            paramKeyEvent = (KeyEvent)localObject1;
            if (i2 > 0)
              paramKeyEvent = new StringBuilder(String.valueOf(localObject1)).append("\n\n  最高重复遥控信息:").append((String)localObject3).append("\n 重复按键数:").append(String.valueOf(i2 + 1)).append("  重复率:").append(String.valueOf((i2 + 1) * 100 / i5)).append("%\n").toString() + "  未重复按键:" + ((String)localObject2) + "\n";
            ((Cursor)localObject6).close();
          }
          paramKeyEvent = paramKeyEvent.substring(0, 2) + "%" + paramKeyEvent.substring(20);
        }
      localObject7 = ((Cursor)localObject6).getString(((Cursor)localObject6).getColumnIndex("define_ID"));
      a("Test", "temp_define_ID:" + ((String)localObject7));
      Cursor localCursor = this.aO.rawQuery("select * from control_list where define_ID=? and control_type=? order by ID desc", new String[] { localObject7, String.valueOf(this.aN) });
      i3 = paramInt;
      localObject5 = paramKeyEvent;
      localObject4 = localObject1;
      if (localCursor.moveToNext())
      {
        localObject4 = this.aO.rawQuery("select code_str,order_ID,ID from button_data where define_ID=? order by ID desc", new String[] { localObject7 });
        if (((Cursor)localObject4).getCount() > 0);
        while (true)
        {
          while (!(((Cursor)localObject4).moveToNext()))
          {
            ((Cursor)localObject4).close();
            paramInt = 0;
            i3 = 1;
            paramKeyEvent = "";
            if (i3 < i5)
              break label2637;
            localObject7 = new StringBuilder(String.valueOf(new StringBuilder(String.valueOf(new StringBuilder(String.valueOf(new StringBuilder("  ").append(localCursor.getString(localCursor.getColumnIndex("name_ch"))).toString())).append(",").append(localCursor.getString(localCursor.getColumnIndex("brand_ch"))).toString())).append(",").append(localCursor.getString(localCursor.getColumnIndex("control_model"))).toString())).append(",").append(String.valueOf(paramInt + 1)).toString() + "," + String.valueOf((paramInt + 1) * 100 / i5) + "%";
            localObject1 = localObject1 + ((String)localObject7) + "\n";
            i3 = paramInt;
            localObject5 = paramKeyEvent;
            localObject4 = localObject1;
            if (i2 >= paramInt)
              break label3100;
            i2 = paramInt;
            localObject4 = paramKeyEvent;
            localObject2 = paramKeyEvent;
            localObject3 = localObject1;
            localObject1 = localObject4;
            paramKeyEvent = (KeyEvent)localObject7;
            localCursor.close();
            localObject4 = localObject3;
            i3 = paramInt;
            paramInt = i2;
            i2 = i3;
            localObject3 = paramKeyEvent;
            paramKeyEvent = (KeyEvent)localObject2;
            localObject2 = localObject1;
            localObject1 = localObject4;
          }
          arrayOfString[localObject4.getInt(localObject4.getColumnIndex("order_ID"))] = b(((Cursor)localObject4).getString(((Cursor)localObject4).getColumnIndex("code_str")));
        }
        label2637: i6 = local[I[i3];
        localObject4 = this.Q[i6];
        localObject5 = arrayOfString[i6];
        if ((localObject5 == null) || (((String)localObject5).length() <= 20) || (!(((String)localObject5).substring(0, 2).equals(((String)localObject4).substring(0, 2)))) || (!(((String)localObject5).substring(22).equals(((String)localObject4).substring(22)))))
          break label3123;
        paramInt += 1;
      }
      label3100: label3123: label3129: for (int i4 = 1; ; i4 = 0)
        while (true)
        {
          while (true)
          {
            while (true)
            {
              while (true)
              {
                localObject4 = paramKeyEvent;
                if (i4 == 0)
                  localObject4 = paramKeyEvent + String.valueOf(i6) + "(" + this.R[i6] + " " + this.T[i6] + ") ";
                i3 += 1;
                paramKeyEvent = (KeyEvent)localObject4;
              }
              if ((this.u != 3) || (MainControl.d) || (MainControl.e) || (!(this.B)))
                break;
              b();
            }
            this.F = true;
            this.aH.a("con_id", "0");
            finish();
          }
          if (paramInt == 24)
          {
            this.aW.setStreamVolume(3, this.aX, 1);
            this.aY = this.aW.getStreamVolume(3);
            this.aZ = this.aY;
            if (this.aZ < this.aX - 1)
              this.aZ = (this.aX - 1);
            this.aH.a("save_vol", String.valueOf(this.aZ));
            a("Test", "currentVolume:" + String.valueOf(this.aY));
            g();
            return true;
          }
          if (paramInt == 25)
          {
            this.aW.setStreamVolume(3, this.aX - 1, 1);
            this.aY = this.aW.getStreamVolume(3);
            this.aZ = this.aY;
            if (this.aZ < this.aX - 1)
              this.aZ = (this.aX - 1);
            this.aH.a("save_vol", String.valueOf(this.aZ));
            a("Test", "currentVolume:" + String.valueOf(this.aY));
            g();
            return true;
          }
          return super.onKeyDown(paramInt, paramKeyEvent);
          paramKeyEvent = (KeyEvent)localObject3;
          localObject1 = localObject2;
          localObject2 = localObject5;
          localObject3 = localObject4;
          paramInt = i2;
          i2 = i3;
        }
    }
  }

  public void onLongPress(MotionEvent paramMotionEvent)
  {
  }

  public boolean onOptionsItemSelected(MenuItem paramMenuItem)
  {
    if (paramMenuItem.getItemId() == 3)
    {
      this.aH.a("con_id", "0");
      this.F = true;
      finish();
      this.F = Boolean.valueOf(true).booleanValue();
    }
    if (paramMenuItem.getItemId() == 4)
    {
      this.F = true;
      Toast.makeText(this, getString(2131099679), 0).show();
      MyApplication.a().b();
    }
    return true;
  }

  protected void onPause()
  {
    if (this.ba != null)
      this.ba.reset();
    super.onPause();
  }

  protected void onResume()
  {
    if ((!(MyApplication.a().a)) && (!(MyApplication.a().e)) && (MyApplication.a().c))
    {
      MyApplication.a().f = false;
      MyApplication.a().a(true, this);
    }
    if ((this.aZ < this.aX - 1) && (MainControl.k))
      this.aZ = (this.aX - 1);
    this.aW.setStreamVolume(3, this.aZ, 0);
    this.E = false;
    super.onResume();
  }

  public boolean onScroll(MotionEvent paramMotionEvent1, MotionEvent paramMotionEvent2, float paramFloat1, float paramFloat2)
  {
    return false;
  }

  public void onShowPress(MotionEvent paramMotionEvent)
  {
  }

  public boolean onSingleTapUp(MotionEvent paramMotionEvent)
  {
    return false;
  }

  public boolean onTouchEvent(MotionEvent paramMotionEvent)
  {
    if (this.k)
      return this.bc.onTouchEvent(paramMotionEvent);
    return false;
  }
}